@model IEnumerable<viBook.Models.Book>
@{
    ViewBag.Title = "Index";
}
<h2>
    Bookshelf</h2>
<div class="container">
    <p>
        @Html.ActionLink("Create New", "Create")
    </p>
    <button data-bind="click: changeTemplate">Change template
    </button>
    <div id="list-book" data-bind="template: {name:viewmodel.bookTemplate(), foreach: bookCollection}">
    </div>
</div>
@Html.Partial("_ListBookTemplate")
@Html.Partial("IndexJS")
